package com.example.demo.cn.tedu.pojo;

import org.springframework.stereotype.Component;

@Component
public class Tech {
    private Integer id;
    private String name;
    private Integer salary;
    private Double award;
    private Double grade;

    public Tech() {
    }

    public Tech(Integer id, String name, Integer salary, Double award, Double grade) {
        this.id = id;
        this.name = name;
        this.salary = salary;
        this.award = award;
        this.grade = grade;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSalary() {
        return salary;
    }

    public void setSalary(Integer salary) {
        this.salary = salary;
    }

    public Double getAward() {
        return award;
    }

    public void setAward(Double award) {
        this.award = award;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Tech{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", salary=" + salary +
                ", award=" + award +
                ", grade=" + grade +
                '}';
    }
}
